package main

import (
	"fmt"
	"gitee.com/weidongkl/similarity/cosine"
)

func main() {
	calc := cosine.New()
	s1 := "string1"
	s2 := "string2"

	similarity, err := calc.Calculate(s1, s2)
	if err != nil {
		fmt.Println("Error calculating similarity:", err)
	} else {
		fmt.Printf("Similarity between %s and %s: %f\n", s1, s2, similarity)
	}
}
